package Interface.InterfaceDome006;

/**
 * ClassName:PingPangCoach
 * Package:Interface.InterfaceDome006
 * Description:
 *
 * @Author:ZhangXin
 * @Create2023/1/25-13:51
 * @Version:v1.0
 */
public class PingPangCoach extends Coach implements English{
    public PingPangCoach() {
    }

    public PingPangCoach(String name, int age) {
        super(name, age);
    }

    @Override
    public void teach() {
        System.out.println(getName()+"教练在教如何打乒乓球");
    }

    @Override
    public void speakEnglish() {
        System.out.println(getName()+"在说英语");
    }
}
